package com.zoe.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author Zoe.Zhang
 * @date 2021/10/10
 * @description 通过WebServlet, WebFilter, WebListener注解注册的Servlet组件需要配置@ServletComponentScan扫描加入
 */
@SpringBootApplication
@ServletComponentScan(basePackages = {"com.zoe.app"})
public class MainAppWeb {
    public static void main(String[] args) {
        SpringApplication.run(MainAppWeb.class, args);
    }
}
